package com.xbongbong.pro.fundset.pojo;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author zcp
 * @version v1.0
 * @since v1.0
 */
@Setter
@Getter
@ToString
@NoArgsConstructor
public class FundSetPeriodRulePojo implements Serializable {
    private static final long serialVersionUID = 3745726312059440468L;
    /**
     * 下拉字段的code值
     */
    private String code;
    /**
     * 类型
     * @see com.xbongbong.pro.enums.fund.enums.PeriodTypeEnum
     */
    private Integer type;
    /**
     * 月份
     */
    private Integer month;
    /**
     * 月份
     */
    private Integer day;
    /**
     * last:上  this:本  next:下
     */
    private String prefix;

    public FundSetPeriodRulePojo(Integer type, Integer month, Integer day, String prefix) {
        this.type = type;
        this.month = month;
        this.day = day;
        this.prefix = prefix;
    }
}
